import {TongDaCommitApi} from "@/api/user_common";

/**
 * 通大附院接口扩展类
 */
const ApiTongDaFuYuAnUtil = {
  /**
   * 获取医生信息
   * @param self
   * @param apiData
   * @returns {Promise<void>}
   */
  async syncSurgeryData(self, apiData) {
    // 获取接口数据
    const formJson = {
      terminalId: self.deviceInfo.screenId,
      terminalType: self.deviceInfo.screenType,
      tenantId: self.deviceInfo.hospitalId
    };
    const {code, data} = await TongDaCommitApi.syncSurgeryData(formJson);
    return data || []
  }

};
export {ApiTongDaFuYuAnUtil};
